package ooday05;

public class StaticFinalDemo {
    public static void main(String[] args) {
        System.out.println(Aoo.PI);
        //Aoo.PI=3.14;编译错误,常量不能改变;
    }
}
class Aoo{
    public static final double PI=3.1415926;
}